package com.xiaoqi.store.service;

import com.xiaoqi.store.entity.ProductEntity;

import java.util.List;

/**
 * @Author Rookie Coder
 * @Description 商品业务层接口
 * @Date
 **/
public interface ProductService {

    /*
    * @Author xiaoqi
    * @Description  查询所有的热销商品(排名前四的)
    * @return
    **/
    List<ProductEntity> selectAllHotProduct();

    /*
    * @Author xiaoqi
    * @Description  根据商品id查询商品详情
    * @return ProductEntity
    **/
    ProductEntity selectProductDetails(Integer id);
}
